import { createApp } from 'vue'

//add element ui
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'


//add windicss
import 'virtual:windi.css'
import App from './App.vue'
import router from './router'

//bootstrap
import 'bootstrap/dist/css/bootstrap.min.css'
//echarts
import * as echarts from 'echarts'
//pinia
import { createPinia } from 'pinia'
//pinia-persist
import piniaPluginPersist from 'pinia-plugin-persist'

const pinia = createPinia()
const app = createApp(App)


pinia.use(piniaPluginPersist)
app.use(ElementPlus)
app.use(router)
app.use(pinia)
app.config.globalProperties.$echarts = echarts
app.mount('#app')


